package com.yuke.cloud.service.smc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import tk.mybatis.spring.annotation.MapperScan;

@EnableCaching
@EnableHystrix
@SpringBootApplication//(exclude = {org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration.class})
@MapperScan(basePackages = "com.yuke.cloud.service.smc.dao")
@EnableFeignClients
@EnableTransactionManagement
@EnableDiscoveryClient
//定时任务
@EnableScheduling
public class YukeCloudServiceSmcApplication {

    public static void main(String[] args) {
        SpringApplication.run(YukeCloudServiceSmcApplication.class, args);
    }
}
